Move the randomMAC method from xm.create into server.netif. This way, it can
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 7 Nov 2005 11:36:53 +0000 (12:36 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 7 Nov 2005 11:36:53 +0000 (12:36 +0100)
commited9f6cba7502c8bc7410803bf703c4f21fc96bf0
treec85d8e22b6d9172611a5b0a290b076a21fe172af
parentab6494f2266b4dcc4d9eb07f0e1ddc65262c426f
Move the randomMAC method from xm.create into server.netif.  This way, it can
be shared with other command line tools, and the xm network-attach command.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/server/netif.py
tools/python/xen/xm/create.py